﻿using Brutalmimi.Applicaiton.Main.Views;
using Brutalmimi.Applicaiton.Share.Prism;
using Prism.Ioc;
using Prism.Modularity;
using Prism.Regions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Brutalmimi.Applicaiton.Main
{
    public class ApplicaitonMainModule : IModule
    {
        public void OnInitialized(IContainerProvider containerProvider)
        {
            containerProvider.Resolve<IRegionManager>().RegisterViewWithRegion<MainView>(RegionNames.MainRegion);
        }

        public void RegisterTypes(IContainerRegistry containerRegistry)
        {
            //测试提交
            containerRegistry.RegisterForNavigation<MainView>();
          

        }


    }
}
